package com.junzhiit.nengji.cms.web.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.cms.service.VipHistoryService;
import com.junzhiit.nengji.cms.web.vo.DataTablesParamVO;
import com.junzhiit.nengji.cms.web.vo.VipHistoryListVO;

import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping(value="vip/history")
public class VipHistoryController {

	@Autowired
	VipHistoryService vipHistoryService;
	
	@ApiOperation(value="获取身份交易记录列表")
	@RequestMapping(method=RequestMethod.GET)
	public Map<String,Object> queryVipHistory(DataTablesParamVO dtp,VipHistoryListVO vhlv){
		return vipHistoryService.queryVipHistory(dtp, vhlv);
	}
}
